CHDIR
Section: MINTLIB LIBRARY FUNCTIONS
(3)
Updated: 3 March 1993
Index
Return to Main Contents
NAME
chdir - change working directory
SYNOPSIS
#include <unistd.h>
int chdir(const char *path);
DESCRIPTION
Path points to the path name of a directory. chdir causes the
named directory to become the current working directory, the
starting path for path searches for path names not beginning
with /.
SEE ALSO
getcwd(3),
Dsetdrv(2),
Dsetpath(2)
RETURN VALUES
0 upon successfull completion.
-1 when an error occurs; errno is set to indicate the error.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- RETURN VALUES
-
This document was created by
man2html,
using the manual pages.
Time: 11:15:03 GMT, June 22, 2025